<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			#con{
				border:1px black solid;
				width: 250px;
			}
			div>div{
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;   /* 用省略号代替文本 */
			}
		</style>
	</head>
	<body>
		<div id="con">
			<div>新闻标题：前端技术1Web计划就好好学习</div>
			<div>新闻标题：前端技术1Web计划就好好学习</div>
			<div>新闻标题：前端技术1Web计划就好好学习</div>
		</div>
	</body>
</html>
